home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 8 / Revista CD Expert nº 08 CD1.iso / Utilitarios / Programacao / Pacific C for DOS / INCLUDE / STDDEF.H < prev    next >
C/C++ Source or Header  |  1995-03-08  |  381b  |  14 lines

  1. #ifndef    _STDDEF
  2. typedef    int        ptrdiff_t;    /* result type of pointer difference */
  3. typedef    unsigned    size_t;        /* type yielded by sizeof */
  4. typedef unsigned short    wchar_t;    /* wide char type */
  5. #define    _STDDEF
  6. #define    offsetof(ty, mem)    ((int)&(((ty *)0)->mem))
  7. #endif    _STDDEF
  8.  
  9. #ifndef    NULL
  10. #define    NULL    ((void *)0)
  11. #endif    NULL
  12.  
  13. extern int    errno;            /* system error number */
  14.